www.gusucode.com > VC++ ASP文件上传组件源代码+调用示例-源码程序 > VC++ ASP文件上传组件源代码+调用示例-源码程序/code/asp_demo/ASPUploader Samples/Sample1.asp
<%@ LANGUAGE=JScript%> <% Response.Buffer = true; var form = Server.CreateObject("MyRequest.Form"); form.Init(); var item = form.Item("file1").Item(1); Response.ContentType = item.ContentType; Response.BinaryWrite(item.Value); Response.End(); %>